Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reverse entries in SourceLookUpProvider #742

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

adpi2
Copy link
Member

@adpi2 adpi2 commented Aug 6, 2024

If 2 entries contain the same class name, the first class should shadow the second class, because that the one loaded by the JDK ClassLoader.

Conicidentally that should fix scalameta/metals#5807.

The first one should shadow the second one.
Because if 2 entries contain the same class name, the JDK classloader loads the first one.
Copy link
Collaborator

@kasiaMarek kasiaMarek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't seem related but some test are failing on the CI.

@adpi2
Copy link
Member Author

adpi2 commented Aug 7, 2024

Yes the CI is always failing on this runner for a reason that I don't understand. Probably I should mute them on this runner specifically.

@adpi2 adpi2 merged commit 4be662c into scalacenter:main Aug 7, 2024
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Debugging "Unknown Source" and "Unsupported evaluation in unmanaged classpath entry" in VSCode.
2 participants